/**
 * 
 */
package com.changil.admin.protocol.http.request;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

import com.changil.admin.protocol.http.HttpUtil;

/**
 * @author skplanet
 * 
 */
public class DeleteArticleRequest extends BaseHttpRequest {
	private int mArticleId;

	public DeleteArticleRequest(int articleId) {
		mArticleId = articleId;
	}

	@Override
	protected void setParams() {
		mPath = "/articles/article?" + "id=" + mArticleId;
	}

	@Override
	public String request() {
		setParams();
		return HttpUtil.delete(mPath);
	}
}
